package com.xiaobai.model.vo.system.dept;

import com.xiaobai.common.utils.config.Tree.TreeNode;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Data
public class DeptTreeVO implements TreeNode<Long, DeptTreeVO> {

    private List<DeptTreeVO> nodes;

    private Long id;

    @Schema(description = "父主键")
    private Long parentId;

    @Schema(description = "部门名")
    private String deptName;

    @Schema(description = "部门类型")
    private Integer deptCategory;

    @Schema(description = "部门全称")
    private String fullName;

    @Schema(description = "排序")
    private Integer sort;

    @Schema(description = "备注")
    private String remark;

}
